package com.jic.conf.response.rest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * @author wwb
 */
@ApiModel("栏目实体类")
public class PageModuleResponse {
    @ApiModelProperty(value = "栏目id")
    private Long moduleId;
    @ApiModelProperty(value = "排序")
    private Integer sort;
    @ApiModelProperty(value = "模板Code")
    private String code;
    @ApiModelProperty(value = "模板类型 0:静态数据 1:动态数据")
    private Integer dataType;
    @ApiModelProperty(value = "模板变量 variables=[{imgUrl:'图片地址'}] variables={title:'名称标题', }")
    private String variables;
    @ApiModelProperty(value = "")
    private Object variablesObject;
    @ApiModelProperty(value = "预览图片")
    private String previewImg;

    List<GetCmsProductListResponse> cmsProductList;

}
